package com.wanfu.dao;

import com.wanfu.entity.RoleToRight;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleToRightMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RoleToRight record);

    int insertSelective(RoleToRight record);

    RoleToRight selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoleToRight record);

    int updateByPrimaryKey(RoleToRight record);

    List<RoleToRight> findRoleToRightByRoleId(@Param("roleId")Integer roleId);
}